package com.flx.at.spring.code.apps.config;

import com.flx.at.spring.code.apps.entity.Teacher;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Import;

/**
 * @Author: Fenglixiong
 * @Date: 2021/8/26 11:22
 * @Description:
 */
@Import(StudentConfiguration.class)
public class TeacherConfiguration {

    @Bean
    public Teacher myTeacher(){
        return new Teacher();
    }

}
